package top.zywork.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * UserUserDetailVO值对象类<br/>
 *
 * 创建于2019-06-27<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class UserUserDetailVO extends BaseVO {

    private static final long serialVersionUID = -9223372036234550269L;

    /*
	 * t_user表的字段对应的属性
	 */
	/**
	 * 用户编号
	 */
	private Long userId;
	/**
	 * 手机号
	 */
	@Size(min = 0, max = 11, message = "必须小于11个字符")
	private String userPhone;
	/**
	 * 用户邮箱
	 */
	@Size(min = 0, max = 100, message = "必须小于100个字符")
	private String userEmail;
	/*
	 * t_user_detail表的字段对应的属性
	 */
	/**
	 * 昵称
	 */
	@Size(min = 0, max = 20, message = "必须小于20个字符")
	private String userDetailNickname;
	/**
	 * 头像地址
	 */
	@Size(min = 0, max = 500, message = "必须小于500个字符")
	private String userDetailHeadicon;
	/**
	 * 性别
	 */
	private Byte userDetailGender;
	/**
	 * 生日
	 */
	private Date userDetailBirthday;
	/**
	 * 年龄
	 */
	private Integer userDetailAge;
	/**
	 * 所在地
	 */
	@Size(min = 0, max = 50, message = "必须小于50个字符")
	private String userDetailLocation;
	/**
	 * QQ号
	 */
	@Size(min = 0, max = 20, message = "必须小于20个字符")
	private String userDetailQq;
	/**
	 * QQ二维码
	 */
	@Size(min = 0, max = 500, message = "必须小于500个字符")
	private String userDetailQqQrcode;
	/**
	 * 微信号
	 */
	@Size(min = 0, max = 50, message = "必须小于50个字符")
	private String userDetailWechat;
	/**
	 * 微信二维码
	 */
	@Size(min = 0, max = 500, message = "必须小于500个字符")
	private String userDetailWechatQrcode;
	/**
	 * 支付宝账号
	 */
	@Size(min = 0, max = 100, message = "必须小于100个字符")
	private String userDetailAlipay;
	/**
	 * 支付宝二维码
	 */
	@Size(min = 0, max = 500, message = "必须小于500个字符")
	private String userDetailAlipayQrcode;
	/**
	 * 分享码
	 */
	@Size(min = 0, max = 36, message = "必须小于36个字符")
	private String userDetailShareCode;
	/**
	 * 版本号
	 */
	private Integer userDetailVersion;
	/**
	 * 创建时间
	 */
	private Date userDetailCreateTime;
	/**
	 * 更新时间
	 */
	private Date userDetailUpdateTime;
	/**
	 * 是否激活
	 */
	private Byte userDetailIsActive;
	
}
